:root {
  font-family: Helvetica, Inter, system-ui, Avenir, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  /* color-scheme: light dark; */
  color: rgba(255, 255, 255, 0.87);
  /* background-color: #242424; */

  font-synthesis: none;
  /* text-rendering: optimizeLegibility; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

.lmd-application.v-theme--light {
  --v-high-emphasis-opacity: 0.85; /* light theme */
}

.lmd-application.theme--dark {
  --v-high-emphasis-opacity: 1; /* dark theme */
}

html[main-window] {
  min-width: 1000px;
  min-height: 500px;
  overflow-x: hidden;
  overflow-y: auto;
}
html[running-window] {
  min-width: 400px;
  min-height: 300px;
  overflow: auto;
}
html[lite-layout] {
  min-width: unset;
  min-height: unset;
  overflow: hidden
}

html[main-window] a {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  text-decoration-line: none;
}

html[main-window] a:hover {
  color: rgb(var(--v-theme-primary));
  text-decoration: none;
}

html[main-window] a:active {
  color: rgb(var(--v-theme-primary));
  text-decoration: none;
}

html[running-window] a,
.running-window-main a {
  color: rgb(var(--v-theme-primary));
  text-decoration: none;
}

html[running-window] a:hover,
.running-window-main a:hover {
  color: rgb(var(--v-theme-primary));
  text-decoration: underline;
}

html[running-window] a:active,
.running-window-main a:active {
  color: rgb(var(--v-theme-primary));
}

code {
  /* background-color: #1a1a1a; */
  background-color: #DDD;
  padding: 2px 4px;
  margin: 0 4px;
  border-radius: 4px;
}

pre {
  white-space: pre-wrap; 
  word-wrap: break-word;
}

.card {
  padding: 2em;
}

.window-drag {
  app-region: drag;
}
.window-no-drag {
  app-region: none;
}

#app {
  /* max-width: 1280px; */
  /* margin: 0 auto;
  padding: 2rem;
  text-align: center; */
  width: 100%;
}

html[main-window] .v-btn,
html[running-window] .v-btn {
  text-transform: none;
  border-radius: 8px; 
}

#app .vel-btns-wrapper .btn__close {
  right: 20px;
  top: 64px;
}

.v-btn--active,
.v-btn--active:focus,
.v-btn--active:hover {
  background-color: initial;
  box-shadow: none;
  color: initial;
}
.common-instance-card {
  border: 1px solid transparent;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
}


@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  /* a:hover {
    color: #747bff;
  } */
  button {
    background-color: #f9f9f9;
  }
  code {
    background-color: #f9f9f9;
  }
}

html[main-window] .v-btn--variant-outlined,
html[running-window] .v-btn--variant-outlined {
  /* color: rgba(0, 0, 0, 0.75); */
  font-size: 0.9rem;
  border-color: rgba(0, 0, 0, 0.25);
  border-width: 1px;
  background-color: #FFF;
  transition: none;
}

html[main-window] .v-img__img--preload,
html[running-window] .v-img__img--preload {
  filter: none;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
  transition: opacity 0.5s ease;
}

html[main-window] .btn-boder-primary.v-btn--variant-outlined,
html[running-window] .btn-boder-primary.v-btn--variant-outlined {
  border:1px solid rgb(var(--v-theme-primary));;
}

html[main-window] .btn-boder-red.v-btn--variant-outlined,
html[running-window] .btn-boder-red.v-btn--variant-outlined {
  border:1px solid red;
}

html[running-window] .dir-item .icon-container .icon {
  background-image: url(../images/app/dir.svg);
}
html[running-window] .dir-item .icon-container:hover .icon {
  background-image: url(../images/app/dir-open.svg);
}

.no-spacing-btn.v-btn {
  letter-spacing: 0;
}